package se.webbzon.boltzmann.editor.mvc;

public class Grid3D {
	
	// The width, height and depth of a cube in the grid
	private double width, height, depth;
	
	/*============================================================
	Constructors
	============================================================*/
	
	/** Creates a new 3-dimensional grid. **/
	public Grid3D(double width, double height, double depth) {
		this.width = width;
		this.height = height;
		this.depth = depth;
	}
	
	/*============================================================
	Public Methods
	============================================================*/
	
	/** Returns the width of a cube in the grid. **/
	public double getWidth() {
		return width;
	}

	/** Sets the width of a cube in the grid. **/
	public void setWidth(double width) {
		this.width = width;
	}

	/** Returns the height of a cube in the grid. **/
	public double getHeight() {
		return height;
	}

	/** Sets the height of a cube in the grid. **/
	public void setHeight(double height) {
		this.height = height;
	}

	/** Returns the depth of a cube in the grid. **/
	public double getDepth() {
		return depth;
	}

	/** Sets the depth of a cube in the grid. **/
	public void setDepth(double depth) {
		this.depth = depth;
	}

}
